package com.mallbook.controller.servlet.front;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;

/**
 * @Author 宋明松
 * @Version V1.0.0
 * @Date 2022-07-05
 */
@WebServlet(value = "/init", loadOnStartup = 1)
public class InitConfigServlet extends HttpServlet {
    @Override
    public void init() throws ServletException {
        getServletContext().setAttribute("site", getServletContext().getInitParameter("site"));
    }
}
